using UnityEngine;

/// <summary>
/// 桶僵尸技能数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/SkillData/Zombies/BucketheadZombieSkillData")]
public class BucketheadZombieSkillData : SkillData
{
    [Header("近战攻击特性")]
    [Tooltip("攻击伤害")]
    public int MeleeDamage = 100;
    
    [Tooltip("攻击范围（近战距离）")]
    public float AttackRange = 1.0f;
    
    [Tooltip("攻击间隔时间（秒）")]
    public float AttackInterval = 1.0f;
    
    [Tooltip("攻击持续时间（秒）")]
    public float AttackDuration = 1.0f;
    
    [Tooltip("攻击前摇时间（秒）")]
    public float AttackWindup = 0.3f;
    
    [Tooltip("攻击后摇时间（秒）")]
    public float AttackRecovery = 0.2f;
    
    [Header("桶特性")]
    [Tooltip("桶的额外防御值")]
    public int BucketDefense = 1100;
    
    [Tooltip("失去桶后的攻击力衰减（百分比）")]
    [Range(0.0f, 1.0f)]
    public float DamageReductionAfterBucketLost = 0.0f;
}

